const express = require('express')
const compression = require('compression')
const app = express()

//在托管之前注册中间键gzip压缩代码
app.use(compression())

app.use(express.static('./dist'))

app.listen(80,()=>{
  console.log("now running")
})